package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 系统服务页面表
 * </p>
 *
 * @author WEN
 * @since 2023-10-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjServicePage对象", description="系统服务页面表")
public class ZjServicePage implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "总后台服务页面表ID")
    private Long admServicePageId;

    @ApiModelProperty(value = "类型：1-工单报单端，2-服务网点端，3-仓库网点端")
    private Integer type;

    @ApiModelProperty(value = "模块ID")
    private Long moduleId;

    @ApiModelProperty(value = "页面标题")
    private String pageTitle;

    @ApiModelProperty(value = "二维码样式类型：1-无，2-黑白样式，3-自定义样式")
    private Integer qrStyleType;

    @ApiModelProperty(value = "二维码标题背景颜色，当qr_style_type=3时生效")
    private String qrBackgroundColor;

    @ApiModelProperty(value = "二维码标题字体颜色，当qr_style_type=3时生效")
    private String qrTextColor;

    @ApiModelProperty(value = "二维码标题")
    private String qrTitle;

    @ApiModelProperty(value = "文案")
    private String qrProgramme;

    @ApiModelProperty(value = "是否禁用：0-否，1-是")
    @TableField("is_disabled")
    private Boolean disabled;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;


}
